//
//  Utility.h
//  Alfresco
//
//  Created by Michael Muller on 10/14/09.
//  Copyright 2010 Zia Consulting.  Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php 
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


UIImage* imageForFilename(NSString* filename);
NSString* createStringByEscapingAmpersandsInsideTagsOfString(NSString *input, NSString *startTag, NSString *endTag);

void startSpinner();
void stopSpinner();

NSString* userPrefUsername();
NSString* userPrefPassword();
NSString* userPrefHostname();
NSString* userPrefPort();
NSString* userPrefWebApp();
BOOL userPrefShowHiddenFiles();
BOOL userPrefEnableAmpersandHack();
BOOL userPrefShowCompanyHome();
NSString* userPrefProtocol();


